package org.jeecg.common.modules.medicineOrder.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 订单表
 * @Author: jeecg-boot
 * @Date:   2022-03-02
 * @Version: V1.0
 */
@Data
@TableName("out_order")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="out_order对象", description="订单表")
public class OutOrder implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**工单号*/
	@Excel(name = "工单号", width = 15)
    @ApiModelProperty(value = "工单号")
    private String no;
	/**处方号*/
	@Excel(name = "处方号", width = 15)
    @ApiModelProperty(value = "处方号")
    private String outNo;
	/**患者姓名*/
	@Excel(name = "患者姓名", width = 15)
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
	/**0:女; 1:男; 2：未知*/
	@Excel(name = "0:女; 1:男; 2：未知", width = 15)
    @ApiModelProperty(value = "0:女; 1:男; 2：未知")
    private Integer patientGender;
	/**患者年龄*/
	@Excel(name = "患者年龄", width = 15)
    @ApiModelProperty(value = "患者年龄")
    private String patientAge;
	/**daijian:代煎; daipei:自煎*/
	@Excel(name = "daijian:代煎; daipei:自煎", width = 15)
    @ApiModelProperty(value = "daijian:代煎; daipei:自煎")
    private String workCate;
	/**剂数*/
	@Excel(name = "剂数", width = 15)
    @ApiModelProperty(value = "剂数")
    private Integer paster;
	/**每剂袋数*/
	@Excel(name = "每剂袋数", width = 15)
    @ApiModelProperty(value = "每剂袋数")
    private Integer packet;
	/**科室*/
	@Excel(name = "科室", width = 15)
    @ApiModelProperty(value = "科室")
    private String hospitalOffice;
	/**医生*/
	@Excel(name = "医生", width = 15)
    @ApiModelProperty(value = "医生")
    private String doctor;
	/**医生id*/
	@Excel(name = "医生id", width = 15)
    @ApiModelProperty(value = "医生id")
    private String doctorId;
	/**收货人id*/
	@Excel(name = "收货人id", width = 15)
    @ApiModelProperty(value = "收货人id")
    private String expressId;
	/**nner:院内自取; shunfeng:顺丰快递; jingdong:京东快递; */
	@Excel(name = "nner:院内自取; shunfeng:顺丰快递; jingdong:京东快递; ", width = 15)
    @ApiModelProperty(value = "nner:院内自取; shunfeng:顺丰快递; jingdong:京东快递; ")
    private String expressType;
	/**收件人姓名*/
	@Excel(name = "收件人姓名", width = 15)
    @ApiModelProperty(value = "收件人姓名")
    private String expressName;
	/**医院*/
	@Excel(name = "医院", width = 15)
    @ApiModelProperty(value = "医院")
    private String hospital;
	/**医院id*/
	@Excel(name = "医院id", width = 15)
    @ApiModelProperty(value = "医院id")
    private String hospitalId;
	/**身份证号*/
	@Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private String idCard;
	/**用药方式，口服-koufu，外-waiyong，其他-qita*/
	@Excel(name = "用药方式，口服-koufu，外-waiyong，其他-qita", width = 15)
    @ApiModelProperty(value = "用药方式，口服-koufu，外-waiyong，其他-qita")
    private String medicineType;
	/**剂量*/
	@Excel(name = "剂量", width = 15)
    @ApiModelProperty(value = "剂量")
    private Integer dose;
	/**每日几剂*/
	@Excel(name = "每日几剂", width = 15)
    @ApiModelProperty(value = "每日几剂")
    private Integer dayOfTimes;
	/**每袋ml*/
	@Excel(name = "每袋ml", width = 15)
    @ApiModelProperty(value = "每袋ml")
    private Integer unitMl;
	/**服用量*/
	@Excel(name = "服用量", width = 15)
    @ApiModelProperty(value = "服用量")
    private String takingNumber;
	/**每剂重量*/
	@Excel(name = "每剂重量", width = 15)
    @ApiModelProperty(value = "每剂重量")
    private Integer eachWeight;
	/**快递编号*/
	@Excel(name = "快递编号", width = 15)
    @ApiModelProperty(value = "快递编号")
    private String courierNumber;
	/**支付状态0未支付，1已支付*/
	@Excel(name = "支付状态0未支付，1已支付", width = 15)
    @ApiModelProperty(value = "支付状态0未支付，1已支付")
    private Integer status;
	/**金额*/
	@Excel(name = "金额", width = 15)
    @ApiModelProperty(value = "金额")
    private Double amount;
	/**预估时间*/
	@Excel(name = "预估时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "预估时间")
    private Date forecastTime;
	/**排队人数*/
	@Excel(name = "排队人数", width = 15)
    @ApiModelProperty(value = "排队人数")
    private String lineCount;
	/**快递名称*/
	@Excel(name = "快递名称", width = 15)
    @ApiModelProperty(value = "快递名称")
    private String courierName;
	/**付款方式，寄付现结、货到付款*/
	@Excel(name = "付款方式，寄付现结、货到付款", width = 15)
    @ApiModelProperty(value = "付款方式，寄付现结、货到付款")
    private String courierType;
	/**预估价格*/
	@Excel(name = "预估价格", width = 15)
    @ApiModelProperty(value = "预估价格")
    private Double forecastAmount;
	/**起点*/
	@Excel(name = "起点", width = 15)
    @ApiModelProperty(value = "起点")
    private String startPoint;
	/**终点*/
	@Excel(name = "终点", width = 15)
    @ApiModelProperty(value = "终点")
    private String endPoint;
	/**总重量*/
	@Excel(name = "总重量", width = 15)
    @ApiModelProperty(value = "总重量")
    private String weight;
	/**件数*/
	@Excel(name = "件数", width = 15)
    @ApiModelProperty(value = "件数")
    private Integer count;
	/**银行卡/微信*/
	@Excel(name = "银行卡/微信", width = 15)
    @ApiModelProperty(value = "银行卡/微信")
    private String payName;
	/**预约流程*/
	@Excel(name = "预约流程", width = 15)
    @ApiModelProperty(value = "预约流程")
    private String appointmentProcess;
	/**预约号*/
	@Excel(name = "预约号", width = 15)
    @ApiModelProperty(value = "预约号")
    private String appointmentNumber;
	/**预约状态*/
	@Excel(name = "预约状态", width = 15)
    @ApiModelProperty(value = "预约状态")
    private String appointmentStatus;
	/**提交时间*/
	@Excel(name = "提交时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "提交时间")
    private Date submitTime;
    /**快递预计到达时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "提交时间")
    private Date arriveTime;
    /**物品类型*/
    @Excel(name = "物品类型", width = 15)
    @ApiModelProperty(value = "物品类型")
    private String itemType;
    /**openid*/
    @Excel(name = "openid", width = 15)
    @ApiModelProperty(value = "openid")
    private String openid;
    //快递状态
    private String courierStatus;

}
